Previous Book Contents Book Index Next

Inside Macintosh: Open Transport /
Chapter 3 - Endpoints / Endpoints Reference
Functions / Doing No-Copy Receives


OTReleaseBuffer

Returns the no-copy receive buffer to the system.

C INTERFACE
void OTReleaseBuffer(OTBuffer* buf);
C++ INTERFACE
None. C++ applications use the C interface to this function.

PARAMETERS
buf
A pointer to the no-copy receive buffer to be released.
DESCRIPTION
Once a no-copy receive is completed, you need to release the OTBuffer structure as quickly as possible by calling this function.

VALID STATES
All

SEE ALSO
The OTBuffer function (page 3-98) obtains the size of the no-copy receive buffer and the OTReadBuffer (page 3-99) function reads from this buffer.

The no-copy receive buffer structure is described by the OTBuffer data type (page 3-53).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
15 AUG 1996